import 'package:flutter/material.dart';
import '/values/app_colors.dart';
import '/values/app_values.dart';

import 'pub_widget.dart';
import 'elevated_container.dart';


class Loading extends StatelessWidget {
   Loading({Key? key, this.content = "加载中"}) : super(key: key);
  String content;

  @override
  Widget build(BuildContext context) {
    return  Center(
      child: ElevatedContainer(
        padding: const EdgeInsets.all(AppValues.margin),
        child: const CircularProgressIndicator(
          color: AppColors.colorWhite,
          strokeWidth: 3,
        ),
      ),
    );
  }
}
